//
//  HYHomeMainView.h
//  XPlayer
//
//  Created by liguoqing on 2023/11/6.
//

#import <UIKit/UIKit.h>
#import "JXCategoryListContainerView.h"
#import "HYHomeViewModel.h"
#import "HYBDPanFileListViewModel.h"
#import "HYBDPanFileModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface HYHomeMainView : UIView<JXCategoryListContentViewDelegate>

@property (nonatomic, strong) HYBDPanFileListViewModel *bdPanviewModel;

@property (nonatomic, assign) BDPanFileType bdFiletype;

@property (nonatomic, assign) HYHomeViewModel *viewModel;

@property (nonatomic, assign) HYHomeFileType fileType;

- (instancetype)initWithViewModel:(HYHomeViewModel *)viewModel fileType:(HYHomeFileType)fileType;

- (instancetype)initWithBDViewModel:(HYBDPanFileListViewModel *)bdPanviewModel fileType:(BDPanFileType)bdFileType;

- (void)refreshLayoutType;

@end

NS_ASSUME_NONNULL_END
